<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/common/default.jsp"%>
<html>
	<head>
	    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<style type="text/css">
			.select_option{
				width: 180px;
				z-index: 1;
				position: absolute;
			}
			.select_showbox{
				width: 175px;
			}
		</style>
		<link type="text/css" rel="stylesheet" href="${ctx}/static/tools/jquery-validationEngine/validationEngine.jquery.css"></link>
	</head>
	<body>
		<script type="text/javascript" src="${ctx}/static/tools/jquery-validationEngine/jquery.validationEngine.js"></script>
		<script type="text/javascript" src="${ctx}/static/tools/jquery-validationEngine/jquery.validationEngine-cn.js"></script>
		<div class="cinema_tip">
		    <div class="cinema_subject clearfix">
		        <div class="cinema_title">
		            <a href="javascript:void(0);">审批管理</a> >
		            <a id="userinfo_list_href" href="${ctx}/sys/mechanicalApply/list">机械审批</a> >
		            <a href="javascript:void(0);" class="cinema_option">审批查看</a>
		        </div>
		        <!-- <a onclick="javascript:history.back(-1);" class="movie_return">返回列表</a> -->
		        <a href="${ctx}/sys/mechanicalApply/list" class="movie_return">返回列表</a>
		    </div>
		</div>
		<div class="cinema_list">
			<form class="form-horizontal" onsubmit="return sysConsInfoModify();" id="sysConsInfoModifyForm"  name="sysConsInfoModifyForm" >
				<input type="hidden" id="teamId" name="teamId" value="${sysConsInfo.teamId}">
				<div class="movie_list">
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">里程桩号：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="mileageCode" type="text" name="mileageCode" value="${res.mileageCode}" class="validate[required,maxSize[100]]" maxlength="100" />
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">项目名称：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								${res.project.name}
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">签名编号：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="visaCode" type="text" name="visaCode" value="${res.visaCode}" class="validate[required,maxSize[100]]" maxlength="100"/>
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">机械申请内容: </p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed positionSelect">
								<input id="applyContent" type="text" name="applyContent" value="${res.applyContent}" class="validate[required,maxSize[100]]" maxlength="100"/>
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">工程类别：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								 <c:choose>
                	                <c:when test="${res.projectId==1}">路基</c:when>
                	                <c:when test="${res.projectId==2}">路面</c:when>
                	                <c:when test="${res.projectId==3}">桥涵</c:when>
                	                <c:when test="${res.projectId==4}">隧道</c:when>
                	                <c:when test="${res.projectId==5}">其他</c:when>
                                 </c:choose>
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">机械类型 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="mechanicalName" type="text" name="mechanicalName" value="${res.mechanical.mechanicalName}" class="width_320" maxlength="100" />
							</div>
						</dd>
					
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">机械型号 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="mechanicalModel" type="text" name="mechanicalModel" value="${res.mechanical.mechanicalModel}" class="width_320" maxlength="100" />
							</div>
						</dd>
					
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">使用开始时间：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="startTime" type="text" name="startTime" value="<fmt:formatDate value="${res.startTime}" type="both" pattern="yyyy-MM-dd HH"/>" class="width_320" maxlength="100" />
							</div>
						</dd>
					
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">使用结束时间 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="endTime" type="text" name="endTime" value="<fmt:formatDate value="${res.endTime}" type="both" pattern="yyyy-MM-dd HH"/>" class="width_320" maxlength="100" />
							</div>
						</dd>
					
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">机械单价 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="price" type="text" name="price" value="${res.price}" class="width_320" maxlength="100" />
							</div>
						</dd>
					
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">台数 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="quantity" type="text" name="quantity" value="${res.quantity}" class="width_320" maxlength="100" />
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">使用工时：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="fee" type="text" name="fee" value="${res.useHours}" class="width_320" maxlength="100" />
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">扣除时间：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="fee" type="text" name="fee" value="${res.deductHour}" class="width_320" maxlength="100" />
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">费用 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="fee" type="text" name="fee" value="${res.fee}" class="width_320" maxlength="100" />
							</div>
						</dd>
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">施工队 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="teamname" type="text" name="teamname" value="${res.team.name}" class="width_320" maxlength="100" />
							</div>
						</dd>
					
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">申请时间 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
								<input id="applyTime" type="text" name="applyTime" value="<fmt:formatDate value="${res.applyTime}" type="both" pattern="yyyy-MM-dd HH"/>" class="width_320" maxlength="100" />
							</div>
						</dd>
					
					</dl>
					<div class="clearfix"></div>
					<dl class="movie_fill">
						<dt class="movie_word clearfix">
							<p style="background-image: none;">附加照片 ：</p>
						</dt>
						<dd class="mleft_99">
							<div class="movie_type cinema_feed">
							<table><tr>
								<td><img hight="480px" width="240px"  style="padding:10px" src="${ctx}${res.frontImage}"></td>
								<td><img hight="480px" width="240px"  style="padding:10px" src="${ctx}${res.middleImage}"></td>
								<td><img hight="480px" width="240px"  style="padding:10px" src="${ctx}${res.behindImage}"></td>
							</tr></table>	
							</div>
						</dd>
					
					</dl>
					<div class="clearfix"></div>
					<a class="movie_continue">
					</a>
				</div>
			</form>
		</div>
		<script type="text/javascript">
		</script>
	</body>
</html>